package com.caiyouxi.boss.buser.mapper;

import com.caiyouxi.boss.buser.model.SysUserAccountsBean;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * Created by Administrator on 2017/10/19.
 */
@Mapper
public interface SysUserAccountsMapper {

    //查询
    public SysUserAccountsBean select_user_accounts(int id);
    public List<SysUserAccountsBean> get_user_accounts_list(SysUserAccountsBean bean);

    //增加
    public int add_user_accounts(SysUserAccountsBean bean);

    //修改
    public int update_user_accounts(SysUserAccountsBean bean);

    //删除
    public int delete_user_accounts(SysUserAccountsBean bean);

    int delete_by_userId(SysUserAccountsBean bean);

    //获得总条数
    public int get_count(SysUserAccountsBean bean);

    //编辑用户open_id
    int edite_user(SysUserAccountsBean bean);


}
